package org.example.fastproject.core.bean;

import lombok.Data;

import java.util.List;

/**
 * @Author 王海舟
 * @Date 2023/1/31 10:55
 * @PackageName:org.example.fastproject.core.bean
 * @ClassName: TreeNode
 * @Description: 树节点类
 * @Version 1.0
 */
@Data
public class TreeNode<T>{
    private Long parentId;

    private Long id;

    private List<T> children;
}
